﻿namespace MicroCloud.Utils
{
    /// <summary>
    /// 更新审计信息接口
    /// </summary>
    public interface IUpdateAudited : IUpdatedTime, IUpdateAuditedBase
    {
        /// <summary>
        /// 获取或设置 更新者编号
        /// </summary>
        [DisplayName("更新者编号")]
        string UpdaterId { get; set; }
    }

    /// <summary>
    /// 更新审计信息接口
    /// </summary>
    /// <typeparam name="TUserKey">用户实体主键类型</typeparam>
    public interface IUpdateAudited<TUserKey> : IUpdatedTime, IUpdateAuditedBase
        where TUserKey : struct
    {
        /// <summary>
        /// 获取或设置 更新者编号
        /// </summary>
        [DisplayName("更新者编号")]
        TUserKey? UpdaterId { get; set; }
    }

    /// <summary>
    /// 更新审计信息基接口
    /// </summary>
    public interface IUpdateAuditedBase
    { }

}
